package net.flyinggroup.springsecurity.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Slf4j
@Controller
public class LoginController {
    @RequestMapping("login")
    public String login() {
        log.info("执行登录方法啊");
        return "redirect:main.html";
    }
}
